-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Statesync #444
Statesync #444
Conversation
Codecov Report
@@ Coverage Diff @@
## main #444 +/- ##
=======================================
Coverage 19.88% 19.88%
=======================================
Files 153 153
Lines 23040 23040
=======================================
Hits 4581 4581
Misses 17707 17707
Partials 752 752 Continue to review full report at Codecov.
|
|
||
# MAKE HOME FOLDER AND GET GENESIS | ||
osmosisd init test | ||
wget -O ~/.osmosisd/config/genesis.json https://cloudflare-ipfs.com/ipfs/QmXRvBT3hgoXwwPqbK6a2sXUuArGM8wPyo1ybskyyUwUxs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this trying to state sync against mainnet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way that I'm looking at this is we can use this as an indicator of changes that would cause differences in the app hash, and of changes that might break state sync itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will currently fail in the master branch but we can tag it with that one setting that causes it to continue on error.
This now runs in 4 minutes and 17 seconds. If we do a v3.10.1, And put tendermint 34.12 In it, that will allow people to smoothly state sync using this script. Just like the peers in the init file, this will need more participation from the validator community to ensure that it is nice and decentralized but for now I can run a bootstrap node that's no problem. |
Awesome, glad that this is landing! I don't super understand how we envision this test getting ran, should we have it be like a daily build against a branch?
|
I'm happy to make the CI part We should start maintaining I've done the Tendermint change you need in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we change this. I think its good to merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Adds a script and a test for state sync.
This is currently failing, but in the future will give us a known-good state sync configuration.
Request help with a fix, I am a bit puzzled.